import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import '../node_modules/element-ui/lib/theme-chalk/index.css'

import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(ElementUI);
Vue.use(Vant);
Vue.config.productionTip = false
Vue.directive('focus', {
  inserted: function (el, binding) {
    el.focus()
    el.value = binding.value
  }
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
